package org.test.service.solo;

import org.test.entity.bo.ShopCategory;
import org.test.entity.dto.Result;

import java.util.List;

/**
 * Created by Hy on 2021/7/24.
 */
public interface ShopCategoryService {
    Result<Boolean> add(ShopCategory shopCategory);
    Result<Boolean> del(int shopCategoryId);
    Result<Boolean> update(ShopCategory shopCategory);
    Result<ShopCategory> queryById(int shopCategoryId);
    Result<List<ShopCategory>> queryShopCategorys(ShopCategory shopCategory, int pageNum, int pageSize);
}
